import request from '@/utils/request'

// 查询standardStruct列表
export function listStandardStruct(query) {
  return request({
    url: '/system/standardStruct/list',
    method: 'get',
    params: query
  })
}

// 查询standardStruct详细
export function getStandardStruct(id) {
  return request({
    url: '/system/standardStruct/' + id,
    method: 'get'
  })
}

// 新增standardStruct
export function addStandardStruct(data) {
  return request({
    url: '/system/standardStruct',
    method: 'post',
    data: data
  })
}

// 新增standardStruct
export function addStandardStructList(data) {
  return request({
    url: '/system/standardStruct/addList',
    method: 'post',
    data: data
  })
}

// 查询standardStruct详细
export function getStandardStructBybid(id) {
  return request({
    url: '/system/standardStruct/getInfoStruct/' + id,
    method: 'get'
  })
}

// 修改standardStruct
export function updateStandardStruct(data) {
  return request({
    url: '/system/standardStruct',
    method: 'put',
    data: data
  })
}

// 删除standardStruct
export function delStandardStruct(id) {
  return request({
    url: '/system/standardStruct/' + id,
    method: 'delete'
  })
}
